package top.kent90.dao;



import top.kent90.annotation.MyMapper;
import top.kent90.pojo.ZczyAtegory;

import java.util.List;

/**
 * 项目分类
 */
@MyMapper
public interface ZczyAtegoryDao {
    List<ZczyAtegory> queryByParentId(Integer parentId);

    int addAtegory(ZczyAtegory zczyAtegory);
        //删除分类
    int delAtegory(Integer categoryId);
    //查询分类下是否存在项目数
    Integer countAteItem(Integer categoryId);
    //修改分类
    int updAtegory(ZczyAtegory zczyAtegory);
}
